//
//  TZComposeController.m
//  X-Tribe
//
//  Created by my-pc on 16/4/3.
//  Copyright © 2016年 Miss.Ou. All rights reserved.
//

#import "TZComposeController.h"
#import "TZComposeView.h"
@interface TZComposeController ()<ComposeViewDelegate>

@end

@implementation TZComposeController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    TZComposeView *composeView = [[TZComposeView alloc]initWithFrame:self.view.bounds];
    composeView.composeDelegete = self;
    self.view = composeView;
    self.navigationController.navigationBar.hidden = YES;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

-(void)backTo{
    [self.navigationController dismissViewControllerAnimated:YES completion:^{
        
        
    }];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
